﻿{include file="common/head"/}
<body>

<div class="page" id="cft">
    {include file="common/loginHead"/}
    <style>a.item-inner {
        color: #2c2c2c
    }

    .item-media img {
        width: 1.0rem
    }</style>

    <div class="content">
        <form class="layui-form" onsubmit="return false">
            <input type="hidden" value="TrandStatic.DoStatic" name="s"/>
            <input type="hidden" value="user/xigu/licai_up_do" name="root"/>
            <input type="hidden" value="{$id}" name="id"/>
            <input type="hidden" value="" name="coin_id"/>
            <div class="list-block" >
                <ul>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">选择钱包</div>
                                <select name="coin_id">
                                    <option value="2">储蓄钱包</option>
                                    <option value="1">流通钱包</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">存入金额</div>
                                <div class="item-input" >
                                   <input type="text" name="amount" autocomplete="off" lay-verify="require|number" placeholder="请输入存入金额">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">安全密码</div>
                                <div class="item-input">
                                    <input type="password" name="safepassword" autocomplete="off" lay-verify="require|pass" placeholder="请输入安全密码">
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>

            <button class="click-btn" lay-submit lay-filter="BackRefreshForm" >确认</button>
        </form>
    </div>
    <script type="text/html" id="day_list_tpl">
        <select name='package_id'>

            {{#each day}}
                <option value="{{this.id}}" >{{this.name}}</option>
            {{/each}}
        </select>
    </script>
    
</div>
</body>
<script type='text/javascript' src='/static/xigu/js/jquery-3.3.1.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swiper.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swipeout.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/cn.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/layui.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/basis.js' charset='utf-8'></script>
<script type="text/javascript"  >
           layui.loadPage({
               cft: function (id) {
                   var $this = this;
                   function re(){
                       var option =  window.location.search;
                        option = option.replace("?","");
                        optionarry = option.split("&");
                        var json = {};
                        for(i in optionarry){
                            var optionarry_ = optionarry[i].split("=");
                            json[optionarry_[0]] = decodeURI(optionarry_[1]);
                        }
                        return json;
                   }
                   $("input[name=manage_order_id]").val(re().id);
                   $("input[name=coin_id]").val(re().coin_id);
               }
           });
    </script>
</html>
